#pragma once

#include <core/time/date.h>
#include <bondlib/BondMarketStream.h>
#include <qbprotocol/include/SSQBModel.h>
#include <uam/UserAccountManager.h>
class BondDetailTools {
public:
	BondDetailTools() {}
	virtual ~BondDetailTools() {}
public:
	static bool IsValidateTime(time_t tmTime);
	static void ConvFromMktStmInfo(const MarketStreamInfo& markInfo, xQBMarketStreamUnit_c& unitInfo);
	static QString GetBidAreaFormat(const CBondInfo& info);
	/*按照给定的顺序给一级机构排序*/
	static void   FormatBussinessShowInfo(CBusinessShowInfo& info);
	static bool getEnablePucharceList(QString combondKey, CBusinessShowInfo& info);
};
